import 'package:get/get.dart';
import 'package:yt_devops/resources/str_res_keys.dart';

class SiteHomeState {
  SiteHomeState();


  String keyword = "";
  int alarmSum = 0;
}

class SiteNumModel {
  int? allNum;
  int? normalNum;
  int? faultNum;

  SiteNumModel({
    this.allNum = 0,
    this.normalNum = 0,
    this.faultNum = 0,
  });

  factory SiteNumModel.fromJson(Map<String, dynamic> json) => SiteNumModel(
        allNum: json['allNum'] ?? 0,
        normalNum: json['normalNum'] ?? 0,
        faultNum: json['faultNum'] ?? 0,
      );
}
